package com.practice.web.controller.request.user;

import com.practice.exception.PracticeException;
import com.practice.util.RegexUtil;

/**
 * Created by Administrator on 2016/8/20.
 */
public class UserRegisterFormBean {
  private String username;
  private String email;
  private String password;
  private String confirmPassword;

  public String getUsername() {
    return username.trim();
  }

  public String getEmail() {
    return null == email ? "" : email.trim();
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password == null ? "" : password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getConfirmPassword() {
    return confirmPassword == null ? "" : confirmPassword;
  }

  public void setConfirmPassword(String confirmPassword) {
    this.confirmPassword = confirmPassword;
  }
}
